<div class="cms-index-left layui-side layui-bg-black">
    <div class="cms-index-nav layui-side-scroll">
        <ul class="layui-nav layui-nav-tree">
            <% if(userInfo.userType == 1){ %>
            <li class="layui-nav-item <%= channel.type == 'manage-user' ? 'layui-nav-itemed' : '' %>">
                <a href="javascript:;">用户管理<span class="layui-nav-more"></span></a>
                <dl class="layui-nav-child">
                    <dd class="<%= channel.type == 'manage-user' && channel.index == 1 ? 'layui-this' : '' %>"><a href="/admin/userList">用户列表</a></dd>
                </dl>
            </li>
            <% } %>
            <% if(userInfo.userType == 1 || userInfo.flowerAuthority == 1){ %>
            <li class="layui-nav-item <%= channel.type == 'manage-huayu' ? 'layui-nav-itemed' : '' %>">
                <a href="javascript:;">香远花语<span class="layui-nav-more"></span></a>
                <dl class="layui-nav-child">
                    <dd class="<%= channel.type == 'manage-huayu' && channel.index == 1 ? 'layui-this' : '' %>"><a href="/admin/huayuList">花语列表</a></dd>
                    <dd class="<%= channel.type == 'manage-huayu' && channel.index == 2 ? 'layui-this' : '' %>"><a href="/admin/flowerPicList">花束列表</a></dd>
                    <dd class="<%= channel.type == 'manage-huayu' && channel.index == 2 ? 'layui-this' : '' %>"><a href="/admin/flowerPicList">花语商品</a></dd>
                </dl>
            </li>
            <% } %>
            <li class="layui-nav-item <%= channel.type == 'manage-news' ? 'layui-nav-itemed' : '' %>">
                <a href="javascript:;">资讯管理<span class="layui-nav-more"></span></a>
                <dl class="layui-nav-child">
                    <dd class="<%= channel.type == 'manage-news' && channel.index == 1 ? 'layui-this' : '' %>"><a href="/admin/newsList">资讯列表</a></dd>
                </dl>
            </li>
        </ul>
    </div>
</div>